#! /usr/bin/python3
# -*- coding: UTF-8 -*-

if __name__ == "__main__":
	raise Exception("不支持从这里调用")

__version__ = "1.0"
__all__ = ["MouseChshKeyValueModel"]

from com.mousechsh.common.data.MouseChshDbModel import MouseChshDbModel
from com.mousechsh.common.data.MouseChshField import MouseChshForeignStringField, MouseChshJsonBinField, \
	MouseChshStringField


class MouseChshKeyValueModel(MouseChshDbModel):
	'''
	键值对模型
	'''

	Key = MouseChshStringField('Key')
	Display = MouseChshJsonBinField('Display')
	KeyValueGroup = MouseChshForeignStringField('Id', linked_table='KeyValueGroup')

	class Meta:
		SchemaName = 'A_Const'
		TableName = 'W_KeyValue'
